// 用户状态
const user = {
  namespaced: true,
  state: () => ({
    id: '',
    nickname: '',
    avatar: '',
    token: '',
    mobile: ''
  }),
  mutations: {
    setuser (state, pload) {
      state.id = pload
    }
  },
  actions: {// 请求数据函数
  },
  getters: {// vuex的计算属性
  }
}
export default user
